package com.aos.erp.manager.remote;

import com.aos.erp.manager.remote.model.DriverSchool;
import com.aos.erp.manager.remote.model.Region;
import com.aos.erp.manager.remote.model.StudentInfo;
import com.aos.erp.manager.remote.model.vo.ExportStudentConditionVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "${erp-school-server}", url = "${erp-school-server-url}")
public interface DriverSchoolService {

    @PostMapping(value = "/service/school/schoolByCityId")
    List<DriverSchool> querySchoolByCityId(List<String> cityIds);

    @PostMapping(value = "/service/captcha/getRegionCity")
    List<Region> queryCityList(String code);


    @PostMapping(value = "/service/studentIntranet/exportStudent")
    List<StudentInfo> queryExportStudentList(ExportStudentConditionVo code);

}
